import type test from "./test";
static type alias = test;
$ const x: alias = "hello!";
<div class=(window as any).x as string>
  Hello
</div>